package cn.lmxdev.ptms.service;

import cn.lmxdev.ptms.bean.table.TSpecialty;

import java.util.List;

public interface ISpecialtyServlet {
    TSpecialty get(Long id);

    long add(TSpecialty specialty);

    void remove(Long id);

    void edit(TSpecialty specialty);

    long count(TSpecialty specialty);

    List<TSpecialty> list(Long limit, Long page, TSpecialty specialty);

    long departmentHeadCount(Long departmentHeadId, TSpecialty specialty);

    List<TSpecialty> departmentHeadList(Long departmentHeadId, Long limit, Long page, TSpecialty specialty);

    long adviserCount(Long adviserId, TSpecialty specialty);

    List<TSpecialty> adviserList(Long adviserId, Long limit, Long page, TSpecialty specialty);
}
